/*new Vue({
	el: '#app',
	data:{
		qwe:[
			{title:'凤敏庆典',url:'http://fengminqingdian.top'},
			{title:'凤敏庆典',url:'http://fengminqingdian.top'},
			{title:'凤敏庆典',url:'http://fengminqingdian.top'},
			{title:'凤敏庆典',url:'http://fengminqingdian.top'},
			{title:'凤敏庆典',url:'http://fengminqingdian.top'},
			{title:'凤敏庆典',url:'http://fengminqingdian.top'},
			{title:'凤敏庆典',url:'http://fengminqingdian.top'},
			{title:'凤敏庆典',url:'http://fengminqingdian.top'}
			
		]
	}
})*/
var sw = new Vue({
	el: '#app',
	data: {
		message: '正在请求数据......'
	},
	mounted() {
		axios
			.get('js/news.json')
			.then(response => (this.message = response.data.url))
			.catch(function(error) {
				console.log(error);
			});
	}
})
/*var b = document.querySelectorAll("#app ul");
var a = document.querySelectorAll("#app ul li");
var c = document.querySelectorAll(".qw");
a[0].addEventListener("mouseover",function(){
	b[0].style.background = "red";
	c[0].style.width = "130px";
});
a[1].addEventListener("mouseover",function(){
	b[0].style.background = "#000";
	c[1].style.width = "130px";
});
a[2].addEventListener("mouseover",function(){
	b[0].style.background = "yellow";
	c[2].style.width = "130px";
});
a[3].addEventListener("mouseover",function(){
	b[0].style.background = "green";
	c[3].style.width = "130px";
});
a[4].addEventListener("mouseover",function(){
	b[0].style.background = "#fff";
	c[4].style.width = "130px";
});
a[5].addEventListener("mouseover",function(){
	b[0].style.background = "aqua";
	c[5].style.width = "130px";
});
a[0].addEventListener("mouseout",function(){
	c[0].style.width = "0px";
});
a[1].addEventListener("mouseout",function(){
	c[1].style.width = "0px";
});
a[2].addEventListener("mouseout",function(){
	c[2].style.width = "0px";
});
a[3].addEventListener("mouseout",function(){
	c[3].style.width = "0px";
});
a[4].addEventListener("mouseout",function(){
	c[4].style.width = "0px";
});
a[5].addEventListener("mouseout",function(){
	c[5].style.width = "0px";
});
var form = document.getElementsByTagName('form')[0];
var body = document.getElementsByTagName('body')[0];
function color(a){
	form.style.display = 'none'
	body.style.transition = '2s';
//	document.querySelector("body").style.color= "#fff";
	document.querySelector("body").style.background= a;
}
function color3(){
	var r = document.getElementById('r').value;
	var g = document.getElementById('g').value;
	var b = document.getElementById('b').value;
	form.style.display = 'block';
	body.style.transition = '0.4s';
//	from.innerHTML = ""	
	document.querySelector("ul").style.background = "rgb("+ r +","+ g +","+ b +")";
}

function color_diy(e){
	color(e.value)
}*/